let result = arr.every(function(value){
    console.log(value)
    return value ==2
})
console.log(arr,result)